/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package test;

import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Pham Thanh
 */
public class browser {
    public static void main(String argv[]) {
        try {
            try {
                java.awt.Desktop.getDesktop().browse(new URI("file:///E:/Project/TextNorDemo/textNor/test1.xml"));
            } catch (IOException ex) {
                Logger.getLogger(browser.class.getName()).log(Level.SEVERE, null, ex);
            }
        } catch (URISyntaxException ex) {
            Logger.getLogger(browser.class.getName()).log(Level.SEVERE, null, ex);
        }
    }

}
